projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f2f376a
)
nand: Change NAND_MAX_OOBSIZE to 218 as needed for some 4k page devices
author
Stefan Roese
<
[email protected]
>
Thu, 4 Jun 2009 14:40:36 +0000
(16:40 +0200)
committer
Scott Wood
<
[email protected]
>
Thu, 16 Jul 2009 22:52:03 +0000
(17:52 -0500)
This is needed for the MPC512x NAND driver (fsl_nfc_nand.c) which already
defines such a 4k plus 218 bytes ECC layout.
Signed-off-by: Stefan Roese <
[email protected]
>
Cc: Scott Wood <
[email protected]
>
Signed-off-by: Scott Wood <
[email protected]
>
include/linux/mtd/nand.h
patch
|
blob
|
history
diff --git
a/include/linux/mtd/nand.h
b/include/linux/mtd/nand.h
index a4ad5711d6c662597f384385986819546c8edbb3..3e0044b94f2316360b0477544bcb71d8da052189 100644
(file)
--- a/
include/linux/mtd/nand.h
+++ b/
include/linux/mtd/nand.h
@@
-50,7
+50,7
@@
extern void nand_wait_ready(struct mtd_info *mtd);
* is supported now. If you add a chip with bigger oobsize/page
* adjust this accordingly.
*/
-#define NAND_MAX_OOBSIZE
12
8
+#define NAND_MAX_OOBSIZE
21
8
#define NAND_MAX_PAGESIZE 4096
/*